ac.skill('叉装闪电'){
    temp = '攻击触发',
    tip = [[攻击|cff00ff00'odds'%|r几率对目标范围造成'dmg_tp']],
    skill_type = "passive",
    on_run = function(self,hero,target)
        local hero = self.owner
        local group = ac.selector('unit'):range(target,600):enemy(hero):priority(hero:get_data('弹幕优先级表',{})):get()
        local rate1 = self.rate1
        for a=1,5 do
            local unit = group[a]
            if unit==nil then
                return
            end
            hero:priority_add(unit,'弹幕优先级表',-1)
            ac.lightning({
                id = self.lightning,
                from = hero,
                to = unit,
                fade = 1,
                time = 0.5,
            })
            unit:add_effect(self.model2):remove()
            ac.wait(150,function()
                hero:create_damage(unit,rate1,self)
            end)
        end
    end
}


ac.skill('SR-敏捷1'){
    temp = '叉装闪电',
    model1 = [[Abilities\Spells\Orc\LightningBolt\LightningBoltMissile.mdl]],
    model2 = [[Abilities\Weapons\Bolt\BoltImpact.mdl]],
    lightning = '闪电链次',
}

ac.skill('SR-敏捷2'){
    temp = '叉装闪电',
    model1 = [[Abilities\Weapons\VengeanceMissile\VengeanceMissile.mdl]],
    model2 = [[Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl]],
    lightning = '死亡之指',
}

ac.skill('SR-敏捷3'){
    temp = '叉装闪电',
    lightning = '灵魂锁链',
    model1 = [[Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl]],
    model2 = [[Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl]],
}


ac.skill('SR-敏捷4'){
    temp = '叉装闪电',
    model1 = [[Abilities\Spells\Undead\Possession\PossessionMissile.mdl]],
    model2 = [[Abilities\Spells\NightElf\ManaBurn\ManaBurnTarget.mdl]],
    lightning = '魔力之焰',
}